[INFO] cloning repository https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP2_Rust_Majeure_Info_2526", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP2_Rust_Majeure_Info_2526'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0480a0745e20d1e20fc81820e4094dcd4bec58ac
[INFO] fixing osmane-amine/TP2_Rust_Majeure_Info_2526 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosmane-amine%2FTP2_Rust_Majeure_Info_2526" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  35% (161/453)
Updating files:  36% (164/453)
Updating files:  37% (168/453)
Updating files:  38% (173/453)
Updating files:  39% (177/453)
Updating files:  40% (182/453)
Updating files:  41% (186/453)
Updating files:  42% (191/453)
Updating files:  43% (195/453)
Updating files:  44% (200/453)
Updating files:  45% (204/453)
Updating files:  46% (209/453)
Updating files:  47% (213/453)
Updating files:  48% (218/453)
Updating files:  49% (222/453)
Updating files:  50% (227/453)
Updating files:  51% (232/453)
Updating files:  52% (236/453)
Updating files:  53% (241/453)
Updating files:  54% (245/453)
Updating files:  55% (250/453)
Updating files:  56% (254/453)
Updating files:  57% (259/453)
Updating files:  58% (263/453)
Updating files:  59% (268/453)
Updating files:  60% (272/453)
Updating files:  61% (277/453)
Updating files:  62% (281/453)
Updating files:  63% (286/453)
Updating files:  64% (290/453)
Updating files:  65% (295/453)
Updating files:  66% (299/453)
Updating files:  67% (304/453)
Updating files:  68% (309/453)
Updating files:  69% (313/453)
Updating files:  70% (318/453)
Updating files:  71% (322/453)
Updating files:  72% (327/453)
Updating files:  73% (331/453)
Updating files:  74% (336/453)
Updating files:  75% (340/453)
Updating files:  76% (345/453)
Updating files:  77% (349/453)
Updating files:  78% (354/453)
Updating files:  79% (358/453)
Updating files:  80% (363/453)
Updating files:  81% (367/453)
Updating files:  82% (372/453)
Updating files:  83% (376/453)
Updating files:  84% (381/453)
Updating files:  85% (386/453)
Updating files:  86% (390/453)
Updating files:  87% (395/453)
Updating files:  88% (399/453)
Updating files:  89% (404/453)
Updating files:  90% (408/453)
Updating files:  91% (413/453)
Updating files:  92% (417/453)
Updating files:  93% (422/453)
Updating files:  94% (426/453)
Updating files:  95% (431/453)
Updating files:  96% (435/453)
Updating files:  97% (440/453)
Updating files:  98% (444/453)
Updating files:  99% (449/453)
Updating files: 100% (453/453)
Updating files: 100% (453/453), done.
[INFO] started tweaking git repo https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526
[INFO] finished tweaking git repo https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526
[INFO] tweaked toml for git repo https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/osmane-amine/TP2_Rust_Majeure_Info_2526 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded santiago v1.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb
[INFO] running `Command { std: "docker" "start" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking svg_fmt v0.4.5
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking santiago v1.3.1
[INFO] [stderr]     Checking TP2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:189:25
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:194:25
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:169:25
[INFO] [stdout]     |
[INFO] [stdout] 169 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:180:25
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:189:25
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `;`
[INFO] [stdout]    --> src/main.rs:194:25
[INFO] [stdout]     |
[INFO] [stdout] 194 |                 let n = ;
[INFO] [stdout]     |                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:146:43
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn compile(&mut self, ast: &AST)->(String) {
[INFO] [stdout]     |                                           ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -     pub fn compile(&mut self, ast: &AST)->(String) {
[INFO] [stdout] 146 +     pub fn compile(&mut self, ast: &AST)->String  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/main.rs:146:43
[INFO] [stdout]     |
[INFO] [stdout] 146 |     pub fn compile(&mut self, ast: &AST)->(String) {
[INFO] [stdout]     |                                           ^      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 146 -     pub fn compile(&mut self, ast: &AST)->(String) {
[INFO] [stdout] 146 +     pub fn compile(&mut self, ast: &AST)->String  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:151:38
[INFO] [stdout]     |
[INFO] [stdout] 151 |               AST::Program(program) => {
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 152 | |                 for item in program {
[INFO] [stdout] 153 | |                     self.svg = format!("{}\n{}", self.svg, self.compile(item))
[INFO] [stdout] 154 | |                 };
[INFO] [stdout] 155 | |             }
[INFO] [stdout]     | |_____________^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:156:38
[INFO] [stdout]     |
[INFO] [stdout] 156 |             AST::Command(command) => {},
[INFO] [stdout]     |                                      ^^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:199:31
[INFO] [stdout]     |
[INFO] [stdout] 199 |             AST::Number(_) => {},
[INFO] [stdout]     |                               ^^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:151:38
[INFO] [stdout]     |
[INFO] [stdout] 151 |               AST::Program(program) => {
[INFO] [stdout]     |  ______________________________________^
[INFO] [stdout] 152 | |                 for item in program {
[INFO] [stdout] 153 | |                     self.svg = format!("{}\n{}", self.svg, self.compile(item))
[INFO] [stdout] 154 | |                 };
[INFO] [stdout] 155 | |             }
[INFO] [stdout]     | |_____________^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:156:38
[INFO] [stdout]     |
[INFO] [stdout] 156 |             AST::Command(command) => {},
[INFO] [stdout]     |                                      ^^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:199:31
[INFO] [stdout]     |
[INFO] [stdout] 199 |             AST::Number(_) => {},
[INFO] [stdout]     |                               ^^ expected `String`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_trees`
[INFO] [stdout]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let parse_trees = &santiago::parser::parse(&grammar, &lexemes).expect("syntax error")[0];
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_trees`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parse_trees`
[INFO] [stdout]    --> src/main.rs:215:9
[INFO] [stdout]     |
[INFO] [stdout] 215 |     let parse_trees = &santiago::parser::parse(&grammar, &lexemes).expect("syntax error")[0];
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_trees`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `TP2` (bin "TP2") due to 7 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `TP2` (bin "TP2" test) due to 7 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb", kill_on_drop: false }`
[INFO] [stdout] c4c4dc4ce0f5c87ee6b7c4537f7406d21fb2a8e98cffa14da513582074b58aeb
